#include "ChannelDataInfo.h"
//This function gives the information about the channel data
ChannelDataInfo::ChannelDataInfo(ModuleData* moduleData, int targetAddress, string name, string type, InOutType inOutType)
{
	mModuleData = moduleData;
	mTargetAddress = targetAddress;
	mName = name;
	mType = type;
	mInOutType = inOutType;
}
//destructor
ChannelDataInfo::~ChannelDataInfo()
{

}
//returns the name of the channel
string ChannelDataInfo::getName()
{
	return mName;
}
//returns the type of the channel
string ChannelDataInfo::getType() { return mType; }

//returns the target address of the channel
int ChannelDataInfo::getTargetAddress() { return mTargetAddress; }

//returns the module data for the channel
ModuleData* ChannelDataInfo::getModuleData() { return mModuleData; }

//returns the InOutType for the channel
InOutType ChannelDataInfo::getInOutType() { return mInOutType; }